package com.jinxin.platform.cdzxkacs.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <b>[cdzxkacs_device]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2021-01-27
 */
public class CdzxkacsDevice implements Serializable {

	private static final long serialVersionUID = -6084793635867196934L;
	/**
	 * id
	 */
	private String id;
	
	/**
	 * 小区id
	 */
	private String communityId;
	
	/**
	 * 小区名称
	 */
	private String communityName;
	
	/**
	 * 楼栋ID
	 */
	private String blockId;
	
	/**
	 * 楼栋名称
	 */
	private String blockName;
	
	/**
	 * 单元id
	 */
	private String unitId;
	
	/**
	 * 单元名称
	 */
	private String unitName;
	
	/**
	 * 设备序列号
	 */
	private String serialNum;
	
	/**
	 * 设备MAC
	 */
	private String deviceMac;
	
	/**
	 * 设备名称
	 */
	private String deviceName;
	
	/**
	 * 设备型号
	 */
	private String deviceModel;
	
	/**
	 * 状态0离线1在线
	 */
	private Integer status;
	/**
	 * 产品编号
	 */
	private String productCode;

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime createTime;
	
	/**
	 * 系统时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime systemTime;
	
	/**
	 * 设备IP(订阅方设备IP)
	 */
	private String deviceIp;
	
	/**
	 * 回复音量
	 */
	private Integer replyVolume;

	/**
	 * 外网IP地址
	 */
	private String ipAddress;
	/**
	 * 订阅方设备IP端口
	 */
	private Integer port;
	/**
	 * 账号
	 */
	private String account;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 订阅ID
	 */
	private String subscribeId;
	/**
	 * 宇视序列号
	 */
	private String ysSerialNum;

	public String getYsSerialNum() {
		return ysSerialNum;
	}

	public void setYsSerialNum(String ysSerialNum) {
		this.ysSerialNum = ysSerialNum;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSubscribeId() {
		return subscribeId;
	}

	public void setSubscribeId(String subscribeId) {
		this.subscribeId = subscribeId;
	}

	/**
	 * id
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 小区id
	 * 
	 * @return communityId
	 */
	public String getCommunityId() {
		return communityId;
	}
	
	/**
	 * 小区名称
	 * 
	 * @return communityName
	 */
	public String getCommunityName() {
		return communityName;
	}
	
	/**
	 * 楼栋ID
	 * 
	 * @return blockId
	 */
	public String getBlockId() {
		return blockId;
	}
	
	/**
	 * 楼栋名称
	 * 
	 * @return blockName
	 */
	public String getBlockName() {
		return blockName;
	}
	
	/**
	 * 单元id
	 * 
	 * @return unitId
	 */
	public String getUnitId() {
		return unitId;
	}
	
	/**
	 * 单元名称
	 * 
	 * @return unitName
	 */
	public String getUnitName() {
		return unitName;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @return serialNum
	 */
	public String getSerialNum() {
		return serialNum;
	}
	
	/**
	 * 设备MAC
	 * 
	 * @return deviceMac
	 */
	public String getDeviceMac() {
		return deviceMac;
	}
	
	/**
	 * 设备名称
	 * 
	 * @return deviceName
	 */
	public String getDeviceName() {
		return deviceName;
	}
	
	/**
	 * 设备型号
	 * 
	 * @return deviceModel
	 */
	public String getDeviceModel() {
		return deviceModel;
	}
	
	/**
	 * 状态0离线1在线
	 * 
	 * @return status
	 */
	public Integer getStatus() {
		return status;
	}
	
	/**
	 * 创建时间
	 * 
	 * @return createTime
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	
	/**
	 * 系统时间
	 * 
	 * @return systemTime
	 */
	public LocalDateTime getSystemTime() {
		return systemTime;
	}
	
	/**
	 * 设备IP
	 * 
	 * @return deviceIp
	 */
	public String getDeviceIp() {
		return deviceIp;
	}
	
	/**
	 * 回复音量
	 * 
	 * @return replyVolume
	 */
	public Integer getReplyVolume() {
		return replyVolume;
	}
	

	/**
	 * id
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 小区id
	 * 
	 * @param communityId
	 */
	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	
	/**
	 * 小区名称
	 * 
	 * @param communityName
	 */
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	
	/**
	 * 楼栋ID
	 * 
	 * @param blockId
	 */
	public void setBlockId(String blockId) {
		this.blockId = blockId;
	}
	
	/**
	 * 楼栋名称
	 * 
	 * @param blockName
	 */
	public void setBlockName(String blockName) {
		this.blockName = blockName;
	}
	
	/**
	 * 单元id
	 * 
	 * @param unitId
	 */
	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}
	
	/**
	 * 单元名称
	 * 
	 * @param unitName
	 */
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @param serialNum
	 */
	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}
	
	/**
	 * 设备MAC
	 * 
	 * @param deviceMac
	 */
	public void setDeviceMac(String deviceMac) {
		this.deviceMac = deviceMac;
	}
	
	/**
	 * 设备名称
	 * 
	 * @param deviceName
	 */
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	
	/**
	 * 设备型号
	 * 
	 * @param deviceModel
	 */
	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}
	
	/**
	 * 状态0离线1在线
	 * 
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	/**
	 * 创建时间
	 * 
	 * @param createTime
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	
	/**
	 * 系统时间
	 * 
	 * @param systemTime
	 */
	public void setSystemTime(LocalDateTime systemTime) {
		this.systemTime = systemTime;
	}
	
	/**
	 * 设备IP
	 * 
	 * @param deviceIp
	 */
	public void setDeviceIp(String deviceIp) {
		this.deviceIp = deviceIp;
	}
	
	/**
	 * 回复音量
	 * 
	 * @param replyVolume
	 */
	public void setReplyVolume(Integer replyVolume) {
		this.replyVolume = replyVolume;
	}
	

}